// 上传文件
export interface IUploadImgParm {
  imgfile: File
}

// 发布
export interface IPublishParm {
  title: string
  goods_list: IGoodsItem[]
  start_time: string
  end_time: string
  logistics_type: number
  is_allowed_refund: number
  buy_type: number
  intro: string
  image_text_vos: IVosItem[]
}
export interface IGoodsItem {
  goods_name: string
  description: string
  image_list: string[]
  line_price: number
  spec_list: ISpecItem[]
}
export interface ISpecItem {
  spec_combination_id: string // 理论上是id数组，这里是string
  price: number
  stock: number
  image: string
}
export interface IVosItem {
  type: number
  content: string
  content_list?: string[]
  cover?: string
}